#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
int main()
{
    int h, r;
    double n, v, a;
    scanf("%d %d", &h, &r);
    v = 3.14 * h * r * r;
    n = 10000 / v;
    bool s = 10000 % (int)v;
    printf("%d", ((int)n) + s);
    return 0;

}